package put.io.state.dp;

public class Context {
	private State state;
	private State concrete;

	public Context() {
		concrete = new ConcreteState();

		state = concrete;
	}

	void setState(State state) {
		this.state = state;
	}

	State getConcreteState() {
		return concrete;
	}

	public void operation() {
		state.operation(this);
	}
}
